#pragma once
#include "irrlicht.h"
#include "Scene.h"
#include "Menu.h"
#include "EventManager.h"
#include "WiimoteController.h"
#include "_Wiimote.h"

/** @class MainController
 *  @author Quentin Brun
 *  @brief classe qui gere l'interaction entre els differente classe. Singleton
 *
 *  
 */

class MainController{

	public :
		 static MainController * getMainControleurInstance();
		 void start();

		 irr::IrrlichtDevice * getDevice();

	private :
		MainController(void);
		~MainController(void);

		//attribut :
		static MainController * mainControleurInstance;

		irr::IrrlichtDevice * device;
		Scene * scene;
		Menu * menu;
		EventManager * eventManager;
		_Wiimote * wiimote;
		WiimoteController * wiimoteController;
};

